// Have include guard.
#ifndef SERVICES_AUTONOMOUSSERVICE_HPP
#define SERVICES_AUTONOMOUSSERVICE_HPP

// Include files.
#include "EntechFpk.hpp"
#include "../Subsystems/TestDriveSubsystem.hpp"

class AutonomousService :
	public Service
{
	public:
		AutonomousService(TestDriveSubsystem &drive);
	protected:
		virtual void HandleStart();
		virtual void HandleStop();
	private:
		Thread<Any> m_thread;
		
		// Subsystems
		TestDriveSubsystem &m_drive;
		
		void Run();
};

#endif // #ifndef SERVICES_AUTONOMOUSSERVICE_HPP
